Repository navigation
Convert the Sandbox startup suite to TypeScript - #5964
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR converts the Sandbox startup suite to typed scenario modules, updates its selectors, and strengthens the mounted Codex relay assertion. Example: A dedicated Codex Gateway ConfigMap omits nativeHookRelay.
Review scores
ProductKind: Test only · Worth it: Yes Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored test migration has clear maintenance value, and no actionable introduced correctness or security defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe startup suite exercises production Compute, Sandbox, and Credential Gateway Drivers using controlled Kubernetes and OpenShell transports, with selected image-backed cases; it checks generated resources, lifecycle outcomes, and refusal behavior. flowchart TB
A[CI and release smoke] --> B[Typed startup registrar]
B --> C[Scenario modules]
C --> D[Production Drivers]
D --> E[Controlled transports]
D --> F[Runtime image processes]
E --> G[Resource and lifecycle assertions]
F --> G
Technical reviewBest possible solution: Land the typed suite with its existing CI and release-smoke registrations while preserving the stated fixture-versus-live-runtime proof boundary. Do we have a high-confidence way to reproduce the issue? This PR migrates tests rather than reporting a user-facing bug; source inspection and supplied CI results establish the review scope. Is this the best way to solve the issue? The conversion follows the suite's existing TypeScript extraction direction, reuses current Driver and fixture owners, and improves the relay assertion by checking mounted configuration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 707813c4a738. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 2:25 AM ET / 07:25 UTC. |
Summary
Move the Sandbox startup suite from its 3,646-line JavaScript entrypoint to a TypeScript registrar and typed scenario files. The startup CI lane, release smoke selector, selector test, and worker flow now reference the typed entrypoint. Case names and registration order stay the same.
The dedicated Codex case uses the same admitted ChatGPT credential-source revision for Kubernetes Compute preparation, OpenShell Credential Gateway attachment, and Sandbox provisioning. It reads the relay from the ConfigMap mounted by the Gateway Deployment and compares its callback route and credential directory with the Sandbox network policy and environment.
Verification
The relay case exercises real Driver behavior over Kubernetes and OpenShell fixture transports. The callback and live OAuth exchange are outside that proof. The ordinary hosted image lane supplies same-source runtime evidence in PR CI. Native runtime and controller smoke on amd64 and arm64 are separate manual checks.